[#escape x as (x)!?html]
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<title>${question.title}_调查结果_${site.name}${global.customs['poweredby']}</title>
<meta name="keywords" content="${question.title}"/>
<meta name="description" content="${question.title}"/>
<link href="_files/global.css" rel="stylesheet"/>
<link href="_files/style.css" rel="stylesheet"/>
[#include 'inc_js.html'/]
</head>
<body>
[#include 'inc_header.html'/]
<div class="w center">
	<div style="padding:10px 5px;">您的位置:&nbsp; <a href="${ctx}/" class="a c-desc">首页</a> > 调查结果</div>	
	<div class="ff-yh fs14" style="border-top:2px solid #f29149;padding:0 30px;">
		<h1 class="fs28" style="margin:30px 0 0 0;padding:0 20px;">${question.title}</h1>
		<div style="padding:20px 20px 20px 20px;border-bottom:1px solid #ccc;">
			<div class="fs12 c-666">
				<span>创建时间：${question.creationDate?string('yyyy-MM-dd')}</span>
				<span class="ml10">状态：[#if question.periodStatus==0]进行中[#elseif question.periodStatus==1]未开始[#elseif question.periodStatus==2]已结束[/#if]</span>
				<span class="ml10">参与人数：${question.total} 人</span>
			</div>
			<div class="c-666" style="text-indent:2em;padding:20px 0 10px 0;">${question.description}</div>
		</div>
		
		<div style="padding:10px 20px;">
			[#list question.items as item]
			[#if !item.essay]
			<div class="mt15" style="padding:5px 0;"><span class="fs16">${item_index+1}、${item.title}</span></div>
			<ul class="list-unstyled mt5 c-666" style="padding:0 30px;">
				[#list item.options as option]
				<li class="oh" style="padding:10px 0;">
					<div class="left" style="width:55%;">${option.title}</div>
					<div class="left" style="width:161px;height:14px;margin-top:4px;background-color:#ccc;"><div style="background-color:#f29149;height:100%;width:${option.proportion*160}px;border-right:1px solid #fff;"></div></div>
					<div class="left" style="width:50px;text-align:right;color:#f29149;">${(option.proportion*100)?string('0.0')}%</div>
					<div class="right c-666 ml10" style="text-align:right;">${option.count}票</div>
				</li>
				[/#list]
			</ul>
			[/#if]
			[/#list]
		</div>
	</div>		
</div>
[#include 'inc_friendlink.html'/]
[#include 'inc_footer.html'/]
</body>
</html>
[/#escape]
